Skip to content

Run windows examples in linux#2747

Merged
riccardobl merged 5 commits into
jMonkeyEngine:masterfrom
riccardobl:yotld
May 9, 2026
Merged

Run windows examples in linux#2747
riccardobl merged 5 commits into
jMonkeyEngine:masterfrom
riccardobl:yotld

Conversation

@riccardobl
Copy link
Copy Markdown
Member

Since this is the year of the linux desktop, this PR adds a runExamplesWithProton task

./gradlew runExamplesWithProton

or

./gradlew runExamplesWithProton -Pexample=jme3test.light.pbr.TestPBRSimple

that runs the examples through umu-launcher inside proton.

With this we can test jme for windows from any linux machine.

@riccardobl riccardobl changed the title Run windows examples on linux Run windows examples in linux May 8, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces new Gradle tasks to download the umu-launcher and a Windows JDK, enabling the execution of jMonkeyEngine examples within a Proton environment. The review feedback highlights several opportunities to make the build script more idiomatic and robust, including declaring input properties for proper incremental builds, using 'ant.get' for more reliable file downloads, and leveraging 'fileTree' for locating binaries. There is also a suggestion to simplify the classpath construction by removing redundant dependency resolutions.

Comment thread jme3-examples/build.gradle
Comment thread jme3-examples/build.gradle
Comment thread jme3-examples/build.gradle
Comment thread jme3-examples/build.gradle
Comment thread jme3-examples/build.gradle
Comment thread jme3-examples/build.gradle Outdated
Comment thread jme3-examples/build.gradle Outdated
riccardobl and others added 3 commits May 9, 2026 00:17
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

🖼️ Screenshot tests have failed.

The purpose of these tests is to ensure that changes introduced in this PR don't break visual features. They are visual unit tests.

📄 Where to find the report:

⚠️ If you didn't expect to change anything visual:
Fix your changes so the screenshot tests pass.

If you did mean to change things:
Review the replacement images in jme3-screenshot-tests/build/changed-images to make sure they really are improvements and then replace and commit the replacement images at jme3-screenshot-tests/src/test/resources.

If you are creating entirely new tests:
Find the new images in jme3-screenshot-tests/build/changed-images and commit the new images at jme3-screenshot-tests/src/test/resources.

Note; it is very important that the committed reference images are created on the build pipeline, locally created images are not reliable. Similarly tests will fail locally but you can look at the report to check they are "visually similar".

See https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-screenshot-tests/README.md for more information

Contact @richardTingle (aka richtea) for guidance if required

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@riccardobl riccardobl merged commit c46a9bb into jMonkeyEngine:master May 9, 2026
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant